package cn.chenli.job.common.config;

import cn.chenli.job.config.GlobalConfig;
import cn.chenli.job.common.controller.Controller;

/**
 * @author chenli
 * @create 2017-08-11
 */
public class Routes {

    public Routes add(Class<? extends Controller> controllerClass) {
        GlobalConfig.controllerList.add(controllerClass);
        return this;
    }
}